//==============================================================================
// AOE villager_anim.txt
//==============================================================================

import bow_defines_anim.txt

//==============================================================================
define Farmerhat
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Cavalry G Prodromos Head Copper
      }
   }
}

//==============================================================================
define Seeds
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Sow Seeds
      }
   }  
}

//==============================================================================
define basket
{
   set hotspot
   {
      version
      {
         Visual Attachments A basket
      }
   }  
}

//==============================================================================
define arrow
{
   set hotspot
   {
      version
      {
         Visual Villager Arrow Normal
      }
   }
}

//==============================================================================
define axe
{
   TechLogic Hand Axe/Bow Saw/Carpenters
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Hatchet
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe DoubleBit
      }
   }
}


//==============================================================================
define weapon
{
   TargetLogic none/wood
   set hotspot
   {
      version
      {
         Visual Attachments A Knife
      }
   }
   set hotspot
   {
      version
      {
         connect hotspot axe hotspot
      }
   }
}

//==============================================================================
define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================
define hoe
{
   set hotspot
   {
      version
      {
         Visual tool hoe
      }
   }
}

//==============================================================================
define knife
{
   set hotspot
   {
      version
      {
         Visual tool knife
      }
   }
}

//==============================================================================
define pickaxe
{
   TechLogic PickAxe/Shaft Mine/Quarry
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe MetalBit
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe MetalBit
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe Miners
      }
   }
}

//==============================================================================
define carryStuff
{
   CarryTypeLogic grain/meat/fish/wood/gold
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Grain
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Meat
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Fish
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Gold
      }
   }
}

//==============================================================================
anim GatherChop
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_chopA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.67 true   
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect RightHand Axe hotspot
				}
			}
		}
	}
}


//==============================================================================
anim GatherMine
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_mineA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.73 false GatherMine checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect RightHand pickaxe hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
   SetSelector
   {
		TargetLogic none/wood
		Setselector
			{
				set hotspot
				{
					version
					{
						Visual villager g male_handattack
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
						connect RightHand weapon hotspot
      }
   }
   set hotspot
   {
      version
      {
						Visual Villager G male_chopDown
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.70 true   
                  tag GenericSound 0.40 true   
                  tag SpecificSoundSet 0.70 false TreeHit checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
						connect RightHand Axe hotspot
					}
				}
			}
		}
   }
}

//==============================================================================
anim RangedAttack
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_RangedAttack
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.60 true   
                  tag GenericSound 0.57 true   
                  tag SpecificSoundSet 0.63 false Arrow checkVisible 
	       tag SpecificSoundSet 0.63 true BowFire checkVisible
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
						connect LeftHand bow hotspot
				}
			}
		}
   }
}

//==============================================================================
anim Death
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_deathA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
				}
			}
		}
   }
}

//==============================================================================
anim Idle
{
   SetSelector
		{
			InventoryLogic 0 1
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Villager G Male_IdleA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
      }
   }
   set hotspot
   {
      version
      {
						Visual Villager G Male_CarryIdleA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
						Connect ATTACHPOINT carryStuff hotspot
					}
				}
			}
		}
   }
}

//==============================================================================
anim Bored
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_boredA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
				}
			}
		}
   }
}

//==============================================================================
anim walk
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_Walk
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepRight 0.10 true   
                  tag FootstepLeft 0.35 true   
                  tag FootstepRight 0.60 true   
                  tag FootstepLeft 0.85 true   
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
				}
			}
		}
   }
}

//==============================================================================
anim Build
{
   SetSelector
      {
         TargetLogic none/farm/dig pile/excavation/plantation
         Set hotspot
         {
            version
            {
					Visual Villager G male_BuildA			      
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.92 true   
                  tag SpecificSoundSet 0.00 false Build checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect RightHand hammer hotspot
      }
   }
   set hotspot
   {
      version
      {
               Visual Villager G male_Sow			      
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect ATTACHPOINT basket hotspot
					connect RightHand seeds hotspot		      

      }
   }
   set hotspot
   {
      version
      {
					Visual Villager G male_DigA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.21 false GatherFarm checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
      }
   }
   set hotspot
   {
      version
      {
					Visual Villager G male_DigA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.21 false GatherFarm checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
				}
			}
   set hotspot
   {
      version
      {
               Visual Villager G male_Sow			      
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect ATTACHPOINT basket hotspot
					connect RightHand seeds hotspot		      

      }
   }
      }
   }
}

//==============================================================================
anim GatherFarm
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_farmA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.67 true   
                  tag SpecificSoundSet 0.00 false GatherFarm checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect RightHand hoe hotspot
					//connect topofhead farmerhat hotspot
				}
			}
		}
   }
}

//==============================================================================
anim Gatherbush
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_HarvestA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.67 true   
                  tag SpecificSoundSet 0.50 false Forage checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect LeftHand Basket hotspot
				}
			}
		}
   }
}

//==============================================================================
anim GatherHunt
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_Slice
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.60 true   
                  tag GenericSound 0.58 true   
                  tag SpecificSoundSet 0.83 false GatherFlay checkVisible 
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					connect RightHand knife hotspot
				}
			}
		}
   }
}

//==============================================================================
anim carry
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_carryA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.40 true   
                  tag FootstepRight 0.70 true   
//-- end auto generated section
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
					Connect ATTACHPOINT carryStuff hotspot
				}
			}
		}
   }
}

//==============================================================================
anim flail
{
   SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G male_flailA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
				}
			}
		}
   }
}

//==============================================================================
anim Cinematic
{
   SetSelector
   {
      set hotspot
      {
         name vill_cine102woundedone
         version
         {
            Visual vill_cine102woundedone
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
         }
      }
      set hotspot
      {
         name villa_cine102woundedtwo
         version
         {
            Visual villa_cine102woundedtwo
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
         }
      }
      set hotspot
      {
         name villa_cine102woundedtwoidle
         version
         {
            Visual villa_cine102woundedtwoidle
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
         }
      }
      set hotspot
      {
         name VillagerGMale_runA
         version
         {
            Visual VillagerGMale_runA
					ReplaceTexture villager g male head/villager g slave head standard
					ReplaceTexture villager g male standard/villager g slave standard
         }
      }
	}
}